package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "peach_blossom")
public class PeachBlossom implements Serializable {
    private ObjectId id;
    private Long userId;
    private String avatar;
    private String nickname;
    private String gender;
    private Long age;
    private String soundUrl;
    private Long created;
}
